.w100 {
  width: 100%;
}
.h100 {
  height: 100%;
}
.flex-row {
  display: flex;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-center {
  justify-content: center;
  align-items: center;
}

.f1 {
  flex: 1;
  min-height: 0;
  min-width: 0;
}

.generate-box(@i) when (@i =< 32) {
  .mr@{i} {
    margin-right: @i * 1px;
  }
  .ml@{i} {
    margin-left: @i * 1px;
  }
  .mt@{i} {
    margin-top: @i * 1px;
  }
  .mb@{i} {
    margin-bottom: @i * 1px;
  }

  .pr@{i} {
    padding-right: @i * 1px;
  }
  .pl@{i} {
    padding-left: @i * 1px;
  }
  .pt@{i} {
    padding-top: @i * 1px;
  }
  .pb@{i} {
    padding-bottom: @i * 1px;
  }
  .generate-box(@i + 1);
}

.generate-font(@i) when (@i =< 24) {
  .font@{i} {
    font-size: @i * 1px;
  }
  .generate-font(@i + 1);
}

.generate-box(0);
.generate-font(12);

.cursor-pointer {
  cursor: pointer;
}

.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-auto {
  overflow-x: auto;
}
